document.writeln("<script language=\"JavaScript\">");
document.writeln("var site;");
document.writeln("function twoDArray(name, site){");
document.writeln("this.name = name;");
document.writeln("this.site = site;");
document.writeln("}");
document.writeln("var siteDomainArray = new Array(128);");
document.writeln("siteDomainArray[0] = new twoDArray(\"www.3dactionplanet.com\", \"3DAP\")");
document.writeln("siteDomainArray[1] = new twoDArray(\"www.cheatingplanet.com\", \"CP\")");
document.writeln("siteDomainArray[2] = new twoDArray(\"www.classicgaming.com\", \"CG\")");
document.writeln("siteDomainArray[3] = new twoDArray(\"www.gamespy.com\", \"GSPY\")");
document.writeln("siteDomainArray[4] = new twoDArray(\"www.gamespy3d.com\", \"GS3D\")");
document.writeln("siteDomainArray[5] = new twoDArray(\"www.gamespyarcade.com\", \"GSPYARC\")");
document.writeln("siteDomainArray[6] = new twoDArray(\"www.gamespydaily.com\", \"GSPYDAILY\")");
document.writeln("siteDomainArray[7] = new twoDArray(\"www.planetdreamcast.com\", \"PDC\")");
document.writeln("siteDomainArray[8] = new twoDArray(\"www.planetps2.com\", \"PPS2\")");
document.writeln("siteDomainArray[9] = new twoDArray(\"www.planetxbox.com\", \"PXBOX\")");
document.writeln("siteDomainArray[10] = new twoDArray(\"www.rpgplanet.com\", \"RP\")");
document.writeln("siteDomainArray[11] = new twoDArray(\"www.sportplanet.com\", \"SPRTP\")");
document.writeln("siteDomainArray[12] = new twoDArray(\"www.strategyplanet.com\", \"SP\")");
document.writeln("siteDomainArray[13] = new twoDArray(\"www.3dap.com\", \"3DAP\")");
document.writeln("siteDomainArray[14] = new twoDArray(\"www.planetplaystation2.com\", \"PPS2\")");
document.writeln("siteDomainArray[15] = new twoDArray(\"planetplaystation2.com\", \"PPS2\")");
document.writeln("siteDomainArray[16] = new twoDArray(\"3dactionplanet.com\", \"3DAP\")");
document.writeln("siteDomainArray[17] = new twoDArray(\"cheatingplanet.com\", \"CP\")");
document.writeln("siteDomainArray[18] = new twoDArray(\"classicgaming.com\", \"CG\")");
document.writeln("siteDomainArray[19] = new twoDArray(\"gamespy.com\", \"GSPY\")");
document.writeln("siteDomainArray[20] = new twoDArray(\"gamespy3d.com\", \"GS3D\")");
document.writeln("siteDomainArray[21] = new twoDArray(\"gamespyarcade.com\", \"GSPYARC\")");
document.writeln("siteDomainArray[22] = new twoDArray(\"gamespydaily.com\", \"GSPYDAILY\")");
document.writeln("siteDomainArray[23] = new twoDArray(\"planetdreamcast.com\", \"PDC\")");
document.writeln("siteDomainArray[24] = new twoDArray(\"planetps2.com\", \"PPS2\")");
document.writeln("siteDomainArray[25] = new twoDArray(\"planetxbox.com\", \"PXBOX\")");
document.writeln("siteDomainArray[26] = new twoDArray(\"rpgplanet.com\", \"RP\")");
document.writeln("siteDomainArray[27] = new twoDArray(\"sportplanet.com\", \"SPRTP\")");
document.writeln("siteDomainArray[28] = new twoDArray(\"strategyplanet.com\", \"SP\")");
document.writeln("siteDomainArray[29] = new twoDArray(\"www.planetbaldursgate.com\", \"BGC\")");
document.writeln("siteDomainArray[30] = new twoDArray(\"planetbaldursgate.com\", \"BGC\")");
document.writeln("siteDomainArray[31] = new twoDArray(\"www.captured.com\", \"CAP\")");
document.writeln("siteDomainArray[32] = new twoDArray(\"captured.com\", \"CAP\")");
document.writeln("siteDomainArray[33] = new twoDArray(\"www.planetcnc.com\", \"CNC\")");
document.writeln("siteDomainArray[34] = new twoDArray(\"planetcnc.com\", \"CNC\")");
document.writeln("siteDomainArray[35] = new twoDArray(\"www.counter-strike.net\", \"CS\")");
document.writeln("siteDomainArray[36] = new twoDArray(\"counter-strike.net\", \"CS\")");
document.writeln("siteDomainArray[37] = new twoDArray(\"www.forumplanet.com\", \"FORUM\")");
document.writeln("siteDomainArray[38] = new twoDArray(\"forumplanet.com\", \"FORUM\")");
document.writeln("siteDomainArray[39] = new twoDArray(\"www.fileplanet.com\", \"FP\")");
document.writeln("siteDomainArray[40] = new twoDArray(\"fileplanet.com\", \"FP\")");
document.writeln("siteDomainArray[41] = new twoDArray(\"www.planethalflife.com\", \"PHL\")");
document.writeln("siteDomainArray[42] = new twoDArray(\"planethalflife.com\", \"PHL\")");
document.writeln("siteDomainArray[43] = new twoDArray(\"www.planetquake.com\", \"PQ\")");
document.writeln("siteDomainArray[44] = new twoDArray(\"planetquake.com\", \"PQ\")");
document.writeln("siteDomainArray[45] = new twoDArray(\"www.gamelaunch.com\", \"GL\")");
document.writeln("siteDomainArray[46] = new twoDArray(\"gamelaunch.com\", \"GL\")");
document.writeln("siteDomainArray[47] = new twoDArray(\"www.gamespyder.com\", \"GS\")");
document.writeln("siteDomainArray[48] = new twoDArray(\"gamespyder.com\", \"GS\")");
document.writeln("siteDomainArray[49] = new twoDArray(\"www.gamespynetwork.com\", \"GSNS\")");
document.writeln("siteDomainArray[50] = new twoDArray(\"gamespynetwork.com\", \"GSNS\")");
document.writeln("siteDomainArray[51] = new twoDArray(\"www.hexenworld.com\", \"HW\")");
document.writeln("siteDomainArray[52] = new twoDArray(\"hexenworld.com\", \"HW\")");
document.writeln("siteDomainArray[53] = new twoDArray(\"www.planetheretic.com\", \"HW\")");
document.writeln("siteDomainArray[54] = new twoDArray(\"planetheretic.com\", \"HW\")");
document.writeln("siteDomainArray[55] = new twoDArray(\"www.lanparty.com\", \"LP\")");
document.writeln("siteDomainArray[56] = new twoDArray(\"lanparty.com\", \"LP\")");
document.writeln("siteDomainArray[57] = new twoDArray(\"www.planetannihilation.com\", \"PAN\")");
document.writeln("siteDomainArray[58] = new twoDArray(\"planetannihilation.com\", \"PAN\")");
document.writeln("siteDomainArray[59] = new twoDArray(\"www.planetanachronox.com\", \"PANX\")");
document.writeln("siteDomainArray[60] = new twoDArray(\"planetanachronox.com\", \"PANX\")");
document.writeln("siteDomainArray[61] = new twoDArray(\"www.planetageofempires.com\", \"PAOE\")");
document.writeln("siteDomainArray[62] = new twoDArray(\"planetageofempires.com\", \"PAOE\")");
document.writeln("siteDomainArray[63] = new twoDArray(\"www.planetavp.com\", \"PAVP\")");
document.writeln("siteDomainArray[64] = new twoDArray(\"planetavp.com\", \"PAVP\")");
document.writeln("siteDomainArray[65] = new twoDArray(\"www.planetblood.com\", \"PB\")");
document.writeln("siteDomainArray[66] = new twoDArray(\"planetblood.com\", \"PB\")");
document.writeln("siteDomainArray[67] = new twoDArray(\"www.planetblackandwhite.com\", \"PBAW\")");
document.writeln("siteDomainArray[68] = new twoDArray(\"planetblackandwhite.com\", \"PBAW\")");
document.writeln("siteDomainArray[69] = new twoDArray(\"www.polycount.com\", \"PC\")");
document.writeln("siteDomainArray[70] = new twoDArray(\"polycount.com\", \"PC\")");
document.writeln("siteDomainArray[71] = new twoDArray(\"www.planetdiablo.com\", \"PDBLO\")");
document.writeln("siteDomainArray[72] = new twoDArray(\"planetdiablo.com\", \"PDBLO\")");
document.writeln("siteDomainArray[73] = new twoDArray(\"www.planetdeerhunter.com\", \"PDH\")");
document.writeln("siteDomainArray[74] = new twoDArray(\"planetdeerhunter.com\", \"PDH\")");
document.writeln("siteDomainArray[75] = new twoDArray(\"www.planetdiakatana.com\", \"PDK\")");
document.writeln("siteDomainArray[76] = new twoDArray(\"planetdiakatana.com\", \"PDK\")");
document.writeln("siteDomainArray[77] = new twoDArray(\"www.planetdungeonsiege.com\", \"PDS\")");
document.writeln("siteDomainArray[78] = new twoDArray(\"planetdungeonsiege.com\", \"PDS\")");
document.writeln("siteDomainArray[79] = new twoDArray(\"www.planetdeusex.com\", \"PDSX\")");
document.writeln("siteDomainArray[80] = new twoDArray(\"planetdeusex.com\", \"PDSX\")");
document.writeln("siteDomainArray[81] = new twoDArray(\"www.planetduke.com\", \"PDUKE\")");
document.writeln("siteDomainArray[82] = new twoDArray(\"planetduke.com\", \"PDUKE\")");
document.writeln("siteDomainArray[83] = new twoDArray(\"www.planetfortress.com\", \"PF\")");
document.writeln("siteDomainArray[84] = new twoDArray(\"planetfortress.com\", \"PF\")");
document.writeln("siteDomainArray[85] = new twoDArray(\"www.planethardware.com\", \"PH\")");
document.writeln("siteDomainArray[86] = new twoDArray(\"planethardware.com\", \"PH\")");
document.writeln("siteDomainArray[87] = new twoDArray(\"www.planetkingpin.com\", \"PKP\")");
document.writeln("siteDomainArray[88] = new twoDArray(\"planetkingpin.com\", \"PKP\")");
document.writeln("siteDomainArray[89] = new twoDArray(\"www.planetmedalofhonor.com\", \"PMOH\")");
document.writeln("siteDomainArray[90] = new twoDArray(\"planetmedalofhonor.com\", \"PMOH\")");
document.writeln("siteDomainArray[91] = new twoDArray(\"www.planetnintendo.com\", \"PNIN\")");
document.writeln("siteDomainArray[92] = new twoDArray(\"planetnintendo.com\", \"PNIN\")");
document.writeln("siteDomainArray[93] = new twoDArray(\"www.planetrainbowsix.com\", \"PRB6\")");
document.writeln("siteDomainArray[94] = new twoDArray(\"planetrainbowsix.com\", \"PRB6\")");
document.writeln("siteDomainArray[95] = new twoDArray(\"www.planetshogo.com\", \"PS\")");
document.writeln("siteDomainArray[96] = new twoDArray(\"planetshogo.com\", \"PS\")");
document.writeln("siteDomainArray[97] = new twoDArray(\"www.planetsoldieroffortune.com\", \"PSOF\")");
document.writeln("siteDomainArray[98] = new twoDArray(\"planetsoldieroffortune.com\", \"PSOF\")");
document.writeln("siteDomainArray[99] = new twoDArray(\"www.planetsoldier.com\", \"PSOF\")");
document.writeln("siteDomainArray[100] = new twoDArray(\"planetsoldier.com\", \"PSOF\")");
document.writeln("siteDomainArray[101] = new twoDArray(\"www.planettribes.com\", \"PSS\")");
document.writeln("siteDomainArray[102] = new twoDArray(\"planettribes.com\", \"PSS\")");
document.writeln("siteDomainArray[103] = new twoDArray(\"www.planetribes.com\", \"PSS\")");
document.writeln("siteDomainArray[104] = new twoDArray(\"planetribes.com\", \"PSS\")");
document.writeln("siteDomainArray[105] = new twoDArray(\"www.planettonyhawk.com\", \"PTH\")");
document.writeln("siteDomainArray[106] = new twoDArray(\"planettonyhawk.com\", \"PTH\")");
document.writeln("siteDomainArray[107] = new twoDArray(\"www.planetunreal.com\", \"PU\")");
document.writeln("siteDomainArray[108] = new twoDArray(\"planetunreal.com\", \"PU\")");
document.writeln("siteDomainArray[109] = new twoDArray(\"www.planetvampire.com\", \"PVMP\")");
document.writeln("siteDomainArray[110] = new twoDArray(\"planetvampire.com\", \"PVMP\")");
document.writeln("siteDomainArray[111] = new twoDArray(\"www.quake3world.com\", \"Q3W\")");
document.writeln("siteDomainArray[112] = new twoDArray(\"quake3world.com\", \"Q3W\")");
document.writeln("siteDomainArray[113] = new twoDArray(\"www.quakefinger.com\", \"QF\")");
document.writeln("siteDomainArray[114] = new twoDArray(\"quakefinger.com\", \"QF\")");
document.writeln("siteDomainArray[115] = new twoDArray(\"www.gamespyindustries.com\", \"3DAP\") //for testing");
document.writeln("siteDomainArray[116] = new twoDArray(\"adcontent.gamespy.com\", \"3DAP\") //for testing");
document.writeln("siteDomainArray[117] = new twoDArray(\"\", \"3DAP\") //for testing");
document.writeln("siteDomainArray[118] = new twoDArray(\"www.planetneverwinter.com\", \"PNW\")");
document.writeln("siteDomainArray[119] = new twoDArray(\"planetneverwinter.com\", \"PNW\")");
document.writeln("siteDomainArray[120] = new twoDArray(\"www.planetneverwinternights.com\", \"PNW\")");
document.writeln("siteDomainArray[121] = new twoDArray(\"planetneverwinternights.com\", \"PNW\")");
document.writeln("siteDomainArray[122] = new twoDArray(\"www.planetwarcraft.com\", \"PWC\")");
document.writeln("siteDomainArray[123] = new twoDArray(\"planetwarcraft.com\", \"PWC\")");
document.writeln("siteDomainArray[124] = new twoDArray(\"www.planeteverquest.com\", \"PE\")");
document.writeln("siteDomainArray[125] = new twoDArray(\"planeteverquest.com\", \"PE\")");
document.writeln("siteDomainArray[126] = new twoDArray(\"www.planeteq.com\", \"PE\")");
document.writeln("siteDomainArray[127] = new twoDArray(\"planeteq.com\", \"PE\")");
document.writeln("for (var i=0; i < siteDomainArray.length; i++){");
document.writeln("if (siteDomainArray[i].name == document.domain){");
document.writeln("var site = siteDomainArray[i].site;");
document.writeln("break;");
document.writeln("}");
document.writeln("}");
document.writeln("var cookieName = 'testCookie' + (new Date().getTime());");
document.writeln("document.cookie = cookieName + '=cookieValue';");
document.writeln("var cookiesEnabled = document.cookie.indexOf(cookieName) != -1;");
document.writeln("//BEGIN VARS");
document.writeln("var basePathAsp1 = \"\";");
document.writeln("var basePathAsp2 = \"\";");
document.writeln("var clickUrl = \"http://207.38.1.183:8080/adclick/CID=00005a8eb354751a00000000/SITE=PQ/AREA=HOSTED/GENRE=ACTION/TIER=3/AAMSZ=PRESTITIAL?82918250\";");
document.writeln("var autoLaunch = \"no\";  //MUST BE SET - YES or NO");
document.writeln("//If autoLaunch is NO");
document.writeln("var basePathToClientsCode = \"\";");
document.writeln("var pathToClientsCode = \"http://ad.doubleclick.net/adi/N1684.mplayer/B1050044.2;sz=600x500;ord=8949?\";");
document.writeln("var popupName = \"creativeLabsPopup\";");
document.writeln("var resizable = \"0\";");
document.writeln("var scrollbars = \"0\";");
document.writeln("var width = \"600\";");
document.writeln("var height = \"500\";");
document.writeln("var topPos = \"0\";");
document.writeln("var leftPos = \"0\";");
document.writeln("var popupFocusOrBlur = \"focus\"; //blur or focus");
document.writeln("//If autoLaunch is YES");
document.writeln("var pathToSource = \"http://adcontent.gamespy.com/ads360/Ads360_popup_Iframe_toPullAd_Jul02.js?8949\"; //JS path to file that will launch popup NOT USED IF AUTOLAUNCH IS SET TO \"NO\"");
document.writeln("var overrideGlobalCookie = \"no\"; //MUST BE SET - YES or NO");
document.writeln("var indivName = \"conQ4Cookie\"; //name of individual cookie");
document.writeln("var indivDurType = \"d\"; //duration type of individual cookie (months(m), days(d), hours(h), minutes(n))");
document.writeln("var indivDurLength = \"2\"; //time till cookie expires");
document.writeln("//PULL ANOTHER AD???");
document.writeln("var pullAnotherAd = \"yes\"; //MUST BE SET - YES or NO");
document.writeln("var pullAnotherBase = \"\"; //typically not used ");
document.writeln("//out of order");
document.writeln("var area = \"Y001\"; //Unique AREA to prevent looping");
document.writeln("var size = \"PRESTITIAL\"; //type of ad to pull");
document.writeln("var pullAnotherSource = \"http://ads.gamespy.com/jserver/SITE=\"+site+\"/AREA=\"+area+\"/AAMSZ=\"+size+\"?8949\"; //source");
document.writeln("//INCLUDE A TRACKER???");
document.writeln("var includeTracker = \"yes\"; //MUST BE SET - YES or NO");
document.writeln("var trackerBase = \"\";  //typically not used ");
document.writeln("//out of order");
document.writeln("var trackerSite = \"WG\";");
document.writeln("var trackerArea = \"005\";");
document.writeln("var trackerTag = \"YES\";");
document.writeln("var trackerSource = \"http://ads.gamespy.com/jserver/SITE=\"+trackerSite+\"/AREA=\"+trackerArea+\"/POPUP=\"+trackerTag+\"/AAMSZ=TRACKER?8949\";");
document.writeln("//OUTPUT A TEXTFILE");
document.writeln("var outputTextFile = \"no\";");
document.writeln("</script>");
document.writeln("<script language=\"JavaScript\" src=\"http://adcontent.gamespy.com/globalCookie_writeContents.js\"></script>");
document.close();
